projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
da22909
)
binman: Add a build rule for binman
author
Simon Glass
<
[email protected]
>
Sat, 26 Nov 2016 03:15:57 +0000
(20:15 -0700)
committer
Simon Glass
<
[email protected]
>
Mon, 19 Dec 2016 19:09:55 +0000
(08:09 +1300)
Add a standard command definition for binman so that it can be used in
makefiles.
Signed-off-by: Simon Glass <
[email protected]
>
Reviewed-by: Bin Meng <
[email protected]
>
Tested-by: Bin Meng <
[email protected]
>
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index dfed58bec661bb71aab8cbc67edbd5478e98e999..7688e875331072888f7675b5f04c888730eea4de 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-903,6
+903,12
@@
u-boot.ldr: u-boot
$(LDR) -T $(CONFIG_CPU) -c $@ $< $(LDR_FLAGS)
$(BOARD_SIZE_CHECK)
+# binman
+# ---------------------------------------------------------------------------
+quiet_cmd_binman = BINMAN $@
+cmd_binman = $(srctree)/tools/binman/binman -d u-boot.dtb -O . \
+ -I . -I $(srctree)/board/$(BOARDDIR) $<
+
OBJCOPYFLAGS_u-boot.ldr.hex := -I binary -O ihex
OBJCOPYFLAGS_u-boot.ldr.srec := -I binary -O srec